package com.heima.wemedia.service;


import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.common.dtos.WmMaterialDto;
import com.heima.model.common.enums.WmMaterial;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * 自媒体素材表(WmMaterial)表服务接口
 *
 * @author makejava
 * @since 2022-04-10 17:49:42
 */
public interface WmMaterialService {

    ResponseResult uploadPic(MultipartFile multipartFile)throws IOException;
    ResponseResult<WmMaterial> selectList(WmMaterialDto wmMaterialDto);
    ResponseResult deleteById(int id);
    ResponseResult isCollection(int id);
    ResponseResult cancelCollect(int id);
}
